# -*- coding: utf-8 -*-

###########################################################################
## Python code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
## http://www.wxformbuilder.org/
##
## PLEASE DO *NOT* EDIT THIS FILE!
###########################################################################

import wx
import wx.xrc
import wx.grid

###########################################################################
## Class MyFrame1
###########################################################################

class MyFrame1 ( wx.Frame ):

	def __init__( self, parent ):
		wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = u"文件校验", pos = wx.DefaultPosition, size = wx.Size( 640,480 ), style = wx.DEFAULT_FRAME_STYLE|wx.TAB_TRAVERSAL )

		self.SetSizeHints( wx.DefaultSize, wx.DefaultSize )

		self.m_statusBar1 = self.CreateStatusBar( 1, wx.STB_SIZEGRIP, wx.ID_ANY )

		self.Centre( wx.BOTH )

	def __del__( self ):
		pass


###########################################################################
## Class MyFrame2
###########################################################################

class MyFrame2 ( wx.Frame ):

	def __init__( self, parent ):
		wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = u"查看记录", pos = wx.DefaultPosition, size = wx.Size( 1129,637 ), style = wx.DEFAULT_FRAME_STYLE|wx.SYSTEM_MENU|wx.TAB_TRAVERSAL )

		self.SetSizeHints( wx.DefaultSize, wx.DefaultSize )

		self.m_statusBar2 = self.CreateStatusBar( 1, wx.STB_SIZEGRIP, wx.ID_ANY )
		self.m_menubar1 = wx.MenuBar( 0 )
		self.m_menu1 = wx.Menu()
		self.m_menuItem1 = wx.MenuItem( self.m_menu1, wx.ID_ANY, u"导入校验记录", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu1.Append( self.m_menuItem1 )

		self.m_menuItem2 = wx.MenuItem( self.m_menu1, wx.ID_ANY, u"导出校验记录", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu1.Append( self.m_menuItem2 )

		self.m_menu1.AppendSeparator()

		self.m_menuItem9 = wx.MenuItem( self.m_menu1, wx.ID_ANY, u"恢复文件", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu1.Append( self.m_menuItem9 )

		self.m_menubar1.Append( self.m_menu1, u"文件" )

		self.m_menu2 = wx.Menu()
		self.m_menuItem6 = wx.MenuItem( self.m_menu2, wx.ID_ANY, u"重置校验", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu2.Append( self.m_menuItem6 )

		self.m_menuItem3 = wx.MenuItem( self.m_menu2, wx.ID_ANY, u"刷新目录", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu2.Append( self.m_menuItem3 )

		self.m_menuItem4 = wx.MenuItem( self.m_menu2, wx.ID_ANY, u"更新文件校验", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu2.Append( self.m_menuItem4 )

		self.m_menuItem5 = wx.MenuItem( self.m_menu2, wx.ID_ANY, u"清除失效记录", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu2.Append( self.m_menuItem5 )

		self.m_menuItem7 = wx.MenuItem( self.m_menu2, wx.ID_ANY, u"清除差异校验", wx.EmptyString, wx.ITEM_NORMAL )
		self.m_menu2.Append( self.m_menuItem7 )

		self.m_menubar1.Append( self.m_menu2, u"管理" )

		self.SetMenuBar( self.m_menubar1 )


		self.Centre( wx.BOTH )

		# Connect Events
		self.Bind( wx.EVT_CLOSE, self.MyFrame2OnClose )
		self.Bind( wx.EVT_MENU, self.inputFile, id = self.m_menuItem1.GetId() )
		self.Bind( wx.EVT_MENU, self.outputFile, id = self.m_menuItem2.GetId() )
		self.Bind( wx.EVT_MENU, self.reFile, id = self.m_menuItem9.GetId() )
		self.Bind( wx.EVT_MENU, self.onReset, id = self.m_menuItem6.GetId() )
		self.Bind( wx.EVT_MENU, self.refreshList, id = self.m_menuItem3.GetId() )
		self.Bind( wx.EVT_MENU, self.updateFileHash, id = self.m_menuItem4.GetId() )
		self.Bind( wx.EVT_MENU, self.delFilelist, id = self.m_menuItem5.GetId() )
		self.Bind( wx.EVT_MENU, self.delCheckList, id = self.m_menuItem7.GetId() )

	def __del__( self ):
		pass


	# Virtual event handlers, override them in your derived class
	def MyFrame2OnClose( self, event ):
		event.Skip()

	def inputFile( self, event ):
		event.Skip()

	def outputFile( self, event ):
		event.Skip()

	def reFile( self, event ):
		event.Skip()

	def onReset( self, event ):
		event.Skip()

	def refreshList( self, event ):
		event.Skip()

	def updateFileHash( self, event ):
		event.Skip()

	def delFilelist( self, event ):
		event.Skip()

	def delCheckList( self, event ):
		event.Skip()


###########################################################################
## Class MyPanel2
###########################################################################

class MyPanel2 ( wx.Panel ):

	def __init__( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 1196,599 ), style = wx.TAB_TRAVERSAL, name = wx.EmptyString ):
		wx.Panel.__init__ ( self, parent, id = id, pos = pos, size = size, style = style, name = name )

		bSizer4 = wx.BoxSizer( wx.VERTICAL )

		bSizer5 = wx.BoxSizer( wx.HORIZONTAL )

		self.m_grid1 = wx.grid.Grid( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, 0 )

		# Grid
		self.m_grid1.CreateGrid( 5, 5 )
		self.m_grid1.EnableEditing( True )
		self.m_grid1.EnableGridLines( True )
		self.m_grid1.EnableDragGridSize( False )
		self.m_grid1.SetMargins( 0, 0 )

		# Columns
		self.m_grid1.EnableDragColMove( False )
		self.m_grid1.EnableDragColSize( True )
		self.m_grid1.SetColLabelSize( 30 )
		self.m_grid1.SetColLabelAlignment( wx.ALIGN_CENTER, wx.ALIGN_CENTER )

		# Rows
		self.m_grid1.EnableDragRowSize( True )
		self.m_grid1.SetRowLabelSize( 80 )
		self.m_grid1.SetRowLabelAlignment( wx.ALIGN_CENTER, wx.ALIGN_CENTER )

		# Label Appearance

		# Cell Defaults
		self.m_grid1.SetDefaultCellAlignment( wx.ALIGN_LEFT, wx.ALIGN_TOP )
		bSizer5.Add( self.m_grid1, 1, wx.ALL|wx.EXPAND, 5 )


		bSizer4.Add( bSizer5, 1, wx.EXPAND, 5 )

		bSizer6 = wx.BoxSizer( wx.HORIZONTAL )

		self.m_button11 = wx.Button( self, wx.ID_ANY, u"上一页", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer6.Add( self.m_button11, 0, wx.ALL, 5 )

		m_comboBox3Choices = []
		self.m_comboBox3 = wx.ComboBox( self, wx.ID_ANY, u"Combo!", wx.DefaultPosition, wx.DefaultSize, m_comboBox3Choices, wx.TE_PROCESS_ENTER )
		bSizer6.Add( self.m_comboBox3, 0, wx.ALL, 5 )

		self.m_button12 = wx.Button( self, wx.ID_ANY, u"下一页", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer6.Add( self.m_button12, 0, wx.ALL, 5 )


		bSizer6.Add( ( 0, 0), 1, wx.EXPAND, 5 )

		self.m_button1 = wx.Button( self, wx.ID_ANY, u"查看记录", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer6.Add( self.m_button1, 0, wx.ALL, 5 )

		self.m_button6 = wx.Button( self, wx.ID_ANY, u"差异文件", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer6.Add( self.m_button6, 0, wx.ALL, 5 )

		self.m_button7 = wx.Button( self, wx.ID_ANY, u"重复文件", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer6.Add( self.m_button7, 0, wx.ALL, 5 )

		self.m_button8 = wx.Button( self, wx.ID_ANY, u"新增文件", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer6.Add( self.m_button8, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )

		self.m_button71 = wx.Button( self, wx.ID_ANY, u"缺失文件", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer6.Add( self.m_button71, 0, wx.ALL, 5 )

		self.m_button9 = wx.Button( self, wx.ID_ANY, u"关闭窗口", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer6.Add( self.m_button9, 0, wx.ALL, 5 )


		bSizer4.Add( bSizer6, 0, wx.EXPAND, 5 )


		self.SetSizer( bSizer4 )
		self.Layout()

		# Connect Events
		self.m_grid1.Bind( wx.grid.EVT_GRID_CELL_LEFT_DCLICK, self.OnLDC )
		self.m_button11.Bind( wx.EVT_BUTTON, self.onUpPage )
		self.m_comboBox3.Bind( wx.EVT_COMBOBOX, self.OnChosePage )
		self.m_comboBox3.Bind( wx.EVT_TEXT_ENTER, self.OnGotoPage )
		self.m_button12.Bind( wx.EVT_BUTTON, self.OnDownPage )
		self.m_button1.Bind( wx.EVT_BUTTON, self.OnShowAll )
		self.m_button6.Bind( wx.EVT_BUTTON, self.m_button6OnButtonClick )
		self.m_button7.Bind( wx.EVT_BUTTON, self.OnShowRepeat )
		self.m_button8.Bind( wx.EVT_BUTTON, self.OnShowAddfile )
		self.m_button71.Bind( wx.EVT_BUTTON, self.OnShowLostfile )
		self.m_button9.Bind( wx.EVT_BUTTON, self.onExit )

	def __del__( self ):
		pass


	# Virtual event handlers, override them in your derived class
	def OnLDC( self, event ):
		event.Skip()

	def onUpPage( self, event ):
		event.Skip()

	def OnChosePage( self, event ):
		event.Skip()

	def OnGotoPage( self, event ):
		event.Skip()

	def OnDownPage( self, event ):
		event.Skip()

	def OnShowAll( self, event ):
		event.Skip()

	def m_button6OnButtonClick( self, event ):
		event.Skip()

	def OnShowRepeat( self, event ):
		event.Skip()

	def OnShowAddfile( self, event ):
		event.Skip()

	def OnShowLostfile( self, event ):
		event.Skip()

	def onExit( self, event ):
		event.Skip()


###########################################################################
## Class MyPanel1
###########################################################################

class MyPanel1 ( wx.Panel ):

	def __init__( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 640,480 ), style = wx.TAB_TRAVERSAL, name = wx.EmptyString ):
		wx.Panel.__init__ ( self, parent, id = id, pos = pos, size = size, style = style, name = name )

		bSizer1 = wx.BoxSizer( wx.VERTICAL )

		sbSizer1 = wx.StaticBoxSizer( wx.StaticBox( self, wx.ID_ANY, u"选择目录" ), wx.VERTICAL )

		self.m_dirPicker1 = wx.DirPickerCtrl( sbSizer1.GetStaticBox(), wx.ID_ANY, wx.EmptyString, u"选择扫描目录", wx.DefaultPosition, wx.DefaultSize, wx.DIRP_DEFAULT_STYLE )
		self.m_dirPicker1.SetToolTip( u"123" )

		sbSizer1.Add( self.m_dirPicker1, 0, wx.ALL|wx.EXPAND, 5 )


		bSizer1.Add( sbSizer1, 0, wx.EXPAND|wx.ALL, 5 )

		sbSizer2 = wx.StaticBoxSizer( wx.StaticBox( self, wx.ID_ANY, u"完成" ), wx.VERTICAL )

		self.m_gauge5 = wx.Gauge( sbSizer2.GetStaticBox(), wx.ID_ANY, 100, wx.DefaultPosition, wx.DefaultSize, wx.GA_HORIZONTAL )
		self.m_gauge5.SetValue( 0 )
		sbSizer2.Add( self.m_gauge5, 0, wx.ALL|wx.EXPAND, 5 )

		self.m_gauge6 = wx.Gauge( sbSizer2.GetStaticBox(), wx.ID_ANY, 100, wx.DefaultPosition, wx.DefaultSize, wx.GA_HORIZONTAL )
		self.m_gauge6.SetValue( 0 )
		sbSizer2.Add( self.m_gauge6, 0, wx.ALL|wx.EXPAND, 5 )

		self.m_staticText1 = wx.StaticText( sbSizer2.GetStaticBox(), wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_staticText1.Wrap( -1 )

		sbSizer2.Add( self.m_staticText1, 0, wx.ALL|wx.EXPAND, 5 )


		bSizer1.Add( sbSizer2, 0, wx.EXPAND|wx.ALL, 5 )

		self.m_textCtrl1 = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.TE_MULTILINE )
		bSizer1.Add( self.m_textCtrl1, 1, wx.ALL|wx.EXPAND, 5 )

		bSizer7 = wx.BoxSizer( wx.HORIZONTAL )


		bSizer7.Add( ( 0, 0), 1, wx.EXPAND, 5 )

		self.m_button1 = wx.Button( self, wx.ID_ANY, u"生成", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer7.Add( self.m_button1, 0, wx.ALL, 5 )

		self.m_button3 = wx.Button( self, wx.ID_ANY, u"校验", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer7.Add( self.m_button3, 0, wx.ALL, 5 )

		self.m_button10 = wx.Button( self, wx.ID_ANY, u"查看", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer7.Add( self.m_button10, 0, wx.ALL, 5 )

		self.m_button2 = wx.Button( self, wx.ID_ANY, u"退出", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer7.Add( self.m_button2, 0, wx.ALL, 5 )


		bSizer1.Add( bSizer7, 0, wx.EXPAND, 5 )


		self.SetSizer( bSizer1 )
		self.Layout()

		# Connect Events
		self.m_dirPicker1.Bind( wx.EVT_DIRPICKER_CHANGED, self.onDirC )
		self.m_button1.Bind( wx.EVT_BUTTON, self.onStart )
		self.m_button3.Bind( wx.EVT_BUTTON, self.onVerify )
		self.m_button10.Bind( wx.EVT_BUTTON, self.onInfo )
		self.m_button2.Bind( wx.EVT_BUTTON, self.onExit )

	def __del__( self ):
		pass


	# Virtual event handlers, override them in your derived class
	def onDirC( self, event ):
		event.Skip()

	def onStart( self, event ):
		event.Skip()

	def onVerify( self, event ):
		event.Skip()

	def onInfo( self, event ):
		event.Skip()

	def onExit( self, event ):
		event.Skip()


###########################################################################
## Class MyPanel7
###########################################################################

class MyPanel7 ( wx.Panel ):

	def __init__( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 1196,599 ), style = wx.TAB_TRAVERSAL, name = wx.EmptyString ):
		wx.Panel.__init__ ( self, parent, id = id, pos = pos, size = size, style = style, name = name )

		bSizer12 = wx.BoxSizer( wx.VERTICAL )

		bSizer13 = wx.BoxSizer( wx.VERTICAL )

		self.m_grid4 = wx.grid.Grid( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, 0 )

		# Grid
		self.m_grid4.CreateGrid( 5, 5 )
		self.m_grid4.EnableEditing( True )
		self.m_grid4.EnableGridLines( True )
		self.m_grid4.EnableDragGridSize( False )
		self.m_grid4.SetMargins( 0, 0 )

		# Columns
		self.m_grid4.EnableDragColMove( False )
		self.m_grid4.EnableDragColSize( True )
		self.m_grid4.SetColLabelAlignment( wx.ALIGN_CENTER, wx.ALIGN_CENTER )

		# Rows
		self.m_grid4.EnableDragRowSize( True )
		self.m_grid4.SetRowLabelAlignment( wx.ALIGN_CENTER, wx.ALIGN_CENTER )

		# Label Appearance

		# Cell Defaults
		self.m_grid4.SetDefaultCellAlignment( wx.ALIGN_LEFT, wx.ALIGN_TOP )
		bSizer13.Add( self.m_grid4, 1, wx.ALL|wx.EXPAND, 5 )


		bSizer12.Add( bSizer13, 1, wx.EXPAND|wx.ALL, 5 )

		bSizer14 = wx.BoxSizer( wx.HORIZONTAL )

		self.m_button29 = wx.Button( self, wx.ID_ANY, u"全部恢复", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer14.Add( self.m_button29, 0, wx.ALL, 5 )

		self.m_button30 = wx.Button( self, wx.ID_ANY, u"恢复选中", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer14.Add( self.m_button30, 0, wx.ALL, 5 )

		self.m_button36 = wx.Button( self, wx.ID_ANY, u"校验备份文件", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer14.Add( self.m_button36, 0, wx.ALL, 5 )


		bSizer14.Add( ( 0, 0), 1, wx.EXPAND, 5 )

		self.m_button31 = wx.Button( self, wx.ID_ANY, u"与本地记录相符", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer14.Add( self.m_button31, 0, wx.ALL, 5 )

		self.m_button32 = wx.Button( self, wx.ID_ANY, u"与备份记录相符", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer14.Add( self.m_button32, 0, wx.ALL, 5 )

		self.m_button33 = wx.Button( self, wx.ID_ANY, u"与记录不符", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer14.Add( self.m_button33, 0, wx.ALL, 5 )

		self.m_button34 = wx.Button( self, wx.ID_ANY, u"返回", wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer14.Add( self.m_button34, 0, wx.ALL, 5 )


		bSizer12.Add( bSizer14, 0, wx.EXPAND, 5 )


		self.SetSizer( bSizer12 )
		self.Layout()

		# Connect Events
		self.m_grid4.Bind( wx.grid.EVT_GRID_CELL_LEFT_CLICK, self.m_grid4OnGridCellLeftClick )
		self.m_grid4.Bind( wx.grid.EVT_GRID_CELL_LEFT_DCLICK, self.m_grid4OnGridCellLeftDClick )
		self.m_grid4.Bind( wx.grid.EVT_GRID_RANGE_SELECT, self.m_grid4OnGridRangeSelect )
		self.m_grid4.Bind( wx.grid.EVT_GRID_SELECT_CELL, self.m_grid4OnGridSelectCell )
		self.m_button29.Bind( wx.EVT_BUTTON, self.recoverFilesAll )
		self.m_button30.Bind( wx.EVT_BUTTON, self.recoverFilesSelect )
		self.m_button36.Bind( wx.EVT_BUTTON, self.checkRemoteFile )
		self.m_button34.Bind( wx.EVT_BUTTON, self.back )

	def __del__( self ):
		pass


	# Virtual event handlers, override them in your derived class
	def m_grid4OnGridCellLeftClick( self, event ):
		event.Skip()

	def m_grid4OnGridCellLeftDClick( self, event ):
		event.Skip()

	def m_grid4OnGridRangeSelect( self, event ):
		event.Skip()

	def m_grid4OnGridSelectCell( self, event ):
		event.Skip()

	def recoverFilesAll( self, event ):
		event.Skip()

	def recoverFilesSelect( self, event ):
		event.Skip()

	def checkRemoteFile( self, event ):
		event.Skip()

	def back( self, event ):
		event.Skip()


